package pl.zuiol.games.poker.util;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * User: Damian
 * Date: 23.08.11
 * Time: 21:18
 */
public class Util {

    public static void writeln(String message){
        System.out.println(message);
    }

    public static void write(String message){
        System.out.print(message);
    }

    public static String getText(){

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String text = null;

        try {
            text = br.readLine();
        } catch (IOException ioe) {
            System.out.println("IO error trying to read your name!");
            System.exit(1);
        }

      return text;
    }
}
